﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace Smart.Model
{
    [ServiceContract]
    public interface IBodyFatCalculator
    {
        [OperationContract]
        double GetBMI(double height, double weight);

        [OperationContract]
        double GetBodyFat(double bmi, int age, bool isMale);

        [OperationContract]
        string GetBMIValue(double bmi);

        [OperationContract]
        string GetBodyFatValue(double bodyFat, bool isMale);
    }
}
